package classfile

/*
这里也待完善，不知道键值对中具体存储 注解参数和值 的类型
*/
type RVAAttribute struct {
	numbers     uint16
	annotations []*annotation
}

func (self *RVAAttribute) readInfo(reader *ClassReader) {
	self.numbers = reader.readUint16()
	self.annotations = make([]*annotation, self.numbers)
}

type annotation struct {
	typeIndex            uint16
	numElementValuePairs uint16
	elementValuePairs    map[string]interface{}
}
